#pragma once
#include "Control.h"
class HorizentalBox :public Control
{
public:
	HorizentalBox();
	~HorizentalBox();
	virtual void UpdateLayout();
	Control* CreateControl(std::string sControlClassName);
	void ParseXmlElement(TiXmlElement* ele);
	bool SetAttribute(const char* attrName, const char* attrVal);
	virtual void Draw();

	virtual void onMouseMove(int x, int y);
	virtual void onMouseButtonDown(int button, int x, int y);
	virtual void onMouseButtonUp(int button, int x, int y);


	vec3 clrBk;

	tstring sClrBk;
};